/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const profileRouter = {
  path: '/profileCenter',
  component: Layout,
  redirect: '/profileCenter/userInfo',
  name: 'profileCenter',
  meta: {
    title: '个人信息',
    icon: 'table'
  },
  children: [{
      path: 'editPassword',
      component: () => import('@/views/profileCenter/editPassword/index'),
      name: 'editPassword',
      meta: {
        title: '修改密码'
      }
    },
    {
      path: 'payPassword',
      component: () => import('@/views/profileCenter/payPassword/index'),
      name: 'payPassword',
      meta: {
        title: '支付密码'
      }
    },
    {
      path: 'userInfo',
      component: () => import('@/views/profileCenter/userInfo/index'),
      name: 'userInfo',
      meta: {
        title: '个人信息'
      }
    },

  ]
}
export default profileRouter
